Dear Pablo,
Here is my example:
\setuppapersize[A4]
\setupbodyfont[termes, 12.50pt]
\setuplayout[backspace=2.9cm,
width=fit]
\ininnermargin{\blackrule[color=black, height=0.10ex, width=1cm]\\{3.2.2}}
\dontleavehmode \blackrule[color=black, height=0.10ex, width=13.50cm]
\showframe
sample and it seems the margin notes stay stacked but not
nearby the line I insert them in the text, which is what I
am looking for. Is there a way to achieve this using notes ?
Otherwise I assume that there is a bug with \ininner \inouter then ?
Also I noticed there is a \ininnermargin
but not
nearby the line I insert them in the text, which is what I
am looking for. Is there a way to achieve this using notes ?
Otherwise I assume that there is a bug with \ininner \inouter then ?
Also I noticed there is a \ininnermargin, but I was curious to know what’s the
difference with \ininner
with \ininner \inouter then ?
Also I noticed there is a \ininnermargin, but I was curious to know what’s the
difference with \ininner.
Thanks a lot
Joseph
From: Wolfgang Schuster
Sent: Friday, December 11, 2015 1:13 PM
To: ntg-context@ntg.nl
josephcan...@gmail.com
10. Dezember
Hi James,
You can use
\inoutermargin{some marginal note}
and
\ininnermargin{some marginal note}
Then when you use
\setuplayout[location=doublesided]
at the beginning of your file, the above two commands should give you what you
seem to be wanting.
Best regards: OK
On 9
Hi Otared,
Thanks. Two problems here:
- the \inoutermargin and \ininnermargin commands add text to the margins. I
can set it to no text, but I don't see why they would be necessary to define
inner and outer margin size.
- the location=doublesided looks like what I was looking
%
{\ininnermargin{#1}
\inframed[width=broad,align=inner,frame=off,offset=none]{#2}}
\starttext
\chapter{Foo}
\section{A long title} \input knuth
\section{A long title}
\section{A long title} \input knuth
\chapter{Bar}
\section{A long title} \input knuth \section{A long title} \input knuth
\section
%
{\ininnermargin{#1}
\inframed[width=broad,align=inner,frame=off,offset=none]{#2}}
yes, it works and I suppose that I do not need
the offset setting.
thanks
Herbert
___
If your question is of interest to others
=\MyHeadCMD]
\def\MyHeadCMD#1#2%
{\ininnermargin{#1}
\inframed[width=broad,align=inner,frame=off,offset=none]{#2}}
yes, it works and I suppose that I do not need
the offset setting.
you might want to play with
offset=none | 0pt | 10pt | overlay
strut=yes | no
combinations to see what happens